﻿/**********************************************************************
/// <summary>
// Name of File     : DBResult.cs
// Author               : Parminder
// Create date      : 21st Sep 2010
/// </summary>
 
************************************************************************/

namespace Crystal.CLL
{
    public enum DBResult
    {
        SUCCESS = -101,
        FAILED = -102,
        INSERTED = -103,
        DELETED = -104,
        UPDATED = -105,
        EXIST = -106,
        PASSWORD_MISMATCH = -109,
        IS_INACTIVE = -110,
        INCORRECT_PASSWORD = -111,
        REQUIRED = -112,
        LOOKUP_VALIDATION = -114,
        CONFIRM_PASSWORD = -117,
        ALPHANUMERIC_PASSWORD = -118,
        EXITFORM = -119,
        INVALID = -120,
        LOGIN_FAILED = -121,
        SELECTONE = -122,
        VALUEEXCEED = -123,
        ADDSOURCE = -124,
        RECORDNOTEXISTS = -125,
        FUNDMARKEDASDLT = -126,
        FUNDSDELETED = -127,
        DECIMAL_VALIDATION = -128,
        APPROPRIATE_FILE = -129,
        COLDUP_FILE = -130,
        CHANGE_SUGGESTION_CRITERIA = -131,
        EDS_BLANK_MATCHCOL = -132,
        EDS_SUGGESTION_COL = -133,
        EDS_REMOVE_INV_MAPPING = -134,
        EDS_REMOVE_FUND_MAPPING = -135,
        EDS_APPLY_INV_MAPPING = -136,
        EDS_APPLY_FUND_MAPPING = -137,
        EDS_APPLY_INVFUND_MAPPING = -138,
        EDS_MARK_DOUBT_1 = -139,
        EDS_MARK_DOUBT_2 = -140,
        EDS_COPY_CONTENT = -141,
        EDS_MATCH_CHAR_COUNT = -142,
        FOLDER_NOTACCESS = -143,
        EDS_ESOURCE_SAVED = -144,
        EDS_CHANGED_MAPPING_LOG = -145,
        EDS_CHANGELOG_UPDATED = -146,
        EDS_CHANGELOG_EXIT = -147,
        SAVE_EXIT_CNFRM = -148,
        EDS_MAPALL_NEXT = -149,
        EDS_CRETE_EXSTNG_RECRD = -150,
        EDS_CRETE_SUCCESS_RECRD = -151,
        EDS_CRETE_VALIDT_BLANK = -152,
        EDS_VALIDATE_MUST_CHNGE = -153,
        EDS_IMPRT_SUCCESS = -154,
        EDS_IMPRT_FAIL = -155,
        EDS_SELCT_SNPSHOT = -157,
        EDS_MPNG_USE_SELF = -158,
        EDS_MPNG_USE_OTHR = -159,
        EDS_MPNG_SEL_ROW = -160,
        EDS_MPNG_MARK_CRETE_ROW = -161,
        EDS_NEW_MARK_CRETE_ROW = -162,
        EDS_UPLD_CNCL_PRJ_NOPROJECT = -163,
        EDS_UPLD_CNCL_PRJ_FUTREPROJECT = -164,
        EDS_UPLD_CNCL_PRJ_PASTPROJECT = -165,
        EDS_UPLD_VALD_SOURCE = -166,
        EDS_UPLD_VALD_TMPLTE = -167,
        BLANK_COL_FILE = -168,
        EDS_IMPRT_MPNG_BLANK_MATCHCOL_VAL = -169,
        EDS_UPLD_MPNG_BLANK_ROWS = -170,
        EDS_UPLD_MPNG_SYS_COL = -171,
        EDS_UPLD_MPNG_SYS_COLS = -172,
        EDS_UPLD_CLMN_TITLE_LSTNGNAME = -173,
        EDS_UPLD_POSITION_NONUMERIC = -174,
        EDS_UPLD_FLNG_DATE_OTHERS = -175,
        EDS_UPLD_POSITION_NEGATIVE = -176,
        EDS_ESOURCE_SAVED_FAIL = -177,
        EDS_IMPRT_DUPMATCH_INVLD_MAP = -178,
        EDS_INVLDMAP_DUPMATCH_INVLD_MAP = -179,
        EDS_OR_SEARCH = -180,
        EDS_AND_SEARCH = -181,
        EDS_MARK_CUSTODIAN = -182,
        EDS_INV_MIN_SERCH_LEN = -183,
        EDS_FND_MIN_SERCH_LEN = -184,
        EDS_MIN_SERCH_LEN = -185,
        EDS_NO_SUGGESTIONS_FOUND = -186,
        EDS_NO_FND_SUGGESTIONS_FOR_INV = -187,
        DE_NOTES_SHORTCUT_1 = -188,
        DE_NOTES_SHORTCUT_2 = -189,
        DE_NOTES_SHORTCUT_3 = -190,
        DH_DATA_SAVE_SUCCESS = -191,
        DH_DATA_SAVE_FAILED = -192,
        DE_ENTITY_IN_USE = -193,
        DE_ENTITY_ALREADY_LOCKED = -194,
        DH_DELETEROW_FAIL = -195,
        DH_DDINFO_MNDTRY_DATE = -196,
        ERROR_DISPLAYTABLE_COMBO = -197,
        RECORD_CNT_DELETE = -198,
        RECORD_CREATED = -199,
        RECORDS_CNT_DELETE = -200,
        RECORDS_DELETED = -201,
        RECORD_ALREADY_EXIST = -202,
        DATABASE_BACKUP_CREATED = -203,
        DOUBLE_VALIDATION = -204,
        DE_COLUMNLIST_UPDATED = -205,
        DE_COLUMNLIST_SAVEEXIT = -206,
        DE_COL_DEL_FAILED = -207,
        DE_COL_DEL_CNFRMTN = -208,
        GRID_RIGHTCLICK_COPYOPTION = -209,
        DE_NEW_SELECTROW = -210,
        DE_TOOLTIP_BTN_CHECKSUM_1 = -211,
        DE_TOOLTIP_BTN_CHECKSUM_2 = -212,
        DE_TOOLTIP_BTN_CANCELSEARCH = -213,
        DE_TOOLTIP_BTN_COLUMNS = -214,
        DE_TOOLTIP_BTN_AUTOSAVE_1 = -215,
        DE_TOOLTIP_BTN_AUTOSAVE_2 = -216,
        DE_TOOLTIP_BTN_EXIT = -217,
        DE_FUND_LINKID_EXISTS = -218,
        DE_FUND_MASTERDB = -219,
        DE_SAMEFUND_MASTERDB = -220,
        NEW_COLUMN_BLANK = -221,
        COLUMN_TITLE_EXIST = -222,
        COLUMN_TITLE_UNIQUE = -223,
        NEW_COLUMN_ADDED = -224,
        COLUMN_EXIT_SAVE = -225,
        DH_SOURCEDATE_INVALID = -226,
        DH_SOURCE_OPTION = -227,
        DE_ENTIY_NOT_EXISTS = -228,
        DE_ENTIY_DETLS_CHNGD = -229,
        EDS_EXIT_CNFRM = -230,
        DE_SELECT_SOURCENAME = -231,
        DE_CL_COLUMNLOCKED = -232,
        ND = -233,
        NIL = -234,
        DE_SAVE_BEFORE_DELROW = -235,
        DE_CHNGDFND_EXIST = -236,
        FL_UPD_SAME_SOURCEDATE = -237,
        FL_DDI_SAME_SOURCEDATE = -238,
        FL_ALPHA_SHORTCUT_3 = -239,
        FL_ALPHA_SHORTCUT_4 = -240,
        FL_ALPHA_SHORTCUT_5 = -241,
        FL_ALPHA_SHORTCUT_6 = -242,
        FL_ALPHA_SHORTCUT_7 = -243,
        FL_ALPHA_SHORTCUT_8 = -244,
        FL_ALPHA_SHORTCUT_9 = -245,
        FL_ALPHA_SHORTCUT_10 = -246,
        FL_DEUSEDBYUSER = -247,
        FL_ALRDYOPND_OTHRUSR = -248,
        //DE_CHNGDFND_EXIST = -249,
        FL_ALPHA_SHORTCUT_1 = -249,
        FL_ALPHA_SHORTCUT_2 = -250,
        FL_RECALCULATE_SUGGESTIONS = -251,
        DE_CUT_ESOURCE_VALUE_MULTIPLE = -252,
        DE_CUT_ESOURCE_VALUE_SINGLE = -253,
        EDS_SYS_COL_NAME = -254,
        ES_ROW_BLANK_DATA = -255
    }

    public enum FunctionName
    {
        NO_PAGE_REDIRECT = 0,
        CLIENT = 1,
        PROJECT = 2,
        Milestone = 3,
    }

    public enum UserStatus
    {
        ACTVE = 1,
        EXEMP = 2,
        DELTE = 3
    }

    public enum ViewMode
    {
        EditMode = 0,
        AddMode = 1
    }

    public enum enmEntityType
    {
        Source,
        Template,
        SourceName
    }

    public enum EntityStatus
    {
        ACTVE = 1,
        DRMNT = 2,
        EXTNT = 3,
        DELTE = 4
    }

    public enum LKPMaster
    {
        HDINV = 1,
        INVTP = 2,
        STYLE = 3,
        PRENT = 4,
        UPRNT = 5,
        CNTRY = 6,
        LCITY = 7,
        ATVST = 8,
        STATE = 10,
        MITYP = 11,
        TMPLT = 12,
        FNDTP = 13,
        EDSDSN = 14,
        LSTNG = 15
    }

    public enum SourceTypeCode
    {
        INV = 1,
        FND = 2,
        PBC = 3,
        BKL = 4,
        EBL = 5,
        RGT = 6,
        REG = 7,
        UPD = 8,
        DDI = 9,
        //DDQ = 9,
        //DDE = 10,
        //DDA = 11,
        //EDA = 12,
        RSH = 10,
        PRB = 11,
        EPB = 12,
        PUB = 13
    }

    public enum DataSourceCode
    {
        INVFACT = 1,
        FNDFACT = 2,
        PUBFACT = 3,
        DDISCRE = 4,
        DDQUEST = 5,
        DDCLEML = 6,
        DDALCOT = 7,
        EDDALOT = 8,
        RESERCH = 9
    }

    //Project Status
    public enum ProjectStatus
    {
        DRPND = 1,
        DRSNT = 2,
        DESRT = 3,
        FNLST = 4,
        CMPLD = 5,
        CNCLD = 6
    }

    //ESource (Non-Public) Mapping Columns
    public enum RegMapColumns
    {
        MappedInvestorName = 1,
        MappedFundName = 2,
        MatchCol1 = 3,
        MatchCol2 = 4,
        MatchCol3 = 5,
        MatchCol4 = 6,
        MatchCol5 = 7,
        Position = 8
    }

    //ESource (Public) Mapping Columns
    public enum PublicMapColumns
    {
        InvEntityID = 1,
        FundEntityID = 2,
        MappedInvestorName = 3,
        MappedFundName = 4,
        Position = 5
    }

    public enum ImportSummaryType
    {
        Doubt = 1,
        BothUnmapped = 2,
        FundMapped = 3,
        InvestorMapped = 4,
        BothMapped = 5,
        Success = 6
    }

    public enum SnapshotType
    {
        NoSnapshot = 1,
        Incomplete = 2,
        Complete = 3
    }

    public enum DateFormatStatus
    {
        UK = 1,
        US = 2,
        OTHERS = 3
    }

    /*''' <summary>
 ''' This enumeration will find th ecriteria type.
 ''' </summary>
 ''' <remarks></remarks>*/
    public enum SearchCriteria
    {
        BeginWith = 1,
        Contains = 2
    }

    public enum LKPRefTable
    {
        City = 2,
        Country = 3,
        FundType = 5,
        InvestorType = 8,
        State = 12,
        Style = 13,
        MInvestorType = 16,
        Turnover = 17,
        LinkInvestorType = 18
    }

    public enum DataHubScreenType
    {
        eSource = 1,
        DataEntry = 2,
        FinalizeList = 3
    }

    public enum ColumnListCategories
    {
        AS1,
        UDI,
        RBC,
        PFL,
        AS2
    }

    public enum ColumnListCategoriesTables
    {
        UpdatesandDDInfoColumnTitles = 0,
        RegistersBlanklists = 1,
        PreviousFinalisedListings = 2,
    }

    public enum SearchedTextOperators
    {
        AND = 1,
        OR = 2,
        SingleText = 3
    }


    public enum MergeAcquire
    {
        MA = 1,
        Origin = 2,
        Status = 3,
        InvestroName = 4,
        PrincipalInvestor = 5,
        Type = 6,
        Style = 7,
        Turnover = 8,
        City = 9,
        Country = 10
    }

    public enum MergeOrAcquire
    {
        Acquire = 1,
        Merger = 2
    }


    public enum DataChangeFlagType
    {
        RMV = 1,
        ADD = 2,
        RPC = 3,
        DEL = 4,
        MDL = 5,
        PPC = 6
    }

    public enum ColumnList
    {
        ABS1 = 1,
        UDDI = 2,
        RBRO = 3,
        PFL = 4,
        ABS2 = 5
    }
    public enum SourceAccessbility
    {
        Neutral = 1,
        Locked = 2,
        Unlocked = 3
    }

    public enum EntityStatusName
    {
        Active = 1,
        Dormant = 2,
        Extinct = 3,
        Delete = 4
    }

    public enum DataSourceGroup
    {
        BKL = 1,
        DDI = 2,
        PBC = 3,
        PRB = 4,
        RGT = 5,
        RSH = 6,
        UPD = 7,
        OTH = 8,
        DDA = 9
    }
    public enum SortOrderColumnList
    {
        CSC = 1,
        UPD = 2,
        DDI = 3,
        RGT = 4,
        REG = 5,
        BKL = 6,
        EBL = 7,
        PRB = 8,
        RSH = 9,
        PBC = 10,
        DCL = 11
    }
    public enum SortOrderIDColumnList
    {
        CSC = 1,
        UPD = 2,
        DDI = 3,
        RGT = 4,
        BKL = 5,
        RSH = 6,
        PBC = 7,
        DCL = 8
    }

}
